package learn.design.patterns.E_Builder.BuilderWithEnum;


public class TestClass {
    public static void main(String[] args) {
        EnumComputer gamingComputer = EnumComputer.Builder.GAMING.build("Intel i9", "32GB", "1TB SSD");
        EnumComputer officeComputer = EnumComputer.Builder.OFFICE.build("Intel Core i5", "8GB", "500GB HDD");

        System.out.println("Processor: " + gamingComputer.getProcessor());
        System.out.println("RAM: " + gamingComputer.getRam());
        System.out.println("Hard Drive: " + gamingComputer.getHardDrive());

        System.out.println("Processor: " + officeComputer.getProcessor());
        System.out.println("RAM: " + officeComputer.getRam());
        System.out.println("Hard Drive: " + officeComputer.getHardDrive());

    }
}
